package com.xcity.pomelo.push.msg;

import com.xcity.pomelo.PomeloRoute;
import com.xcity.pomelo.push.AbstractMessagePush;

import naga.x.net.impl.pomelo.PomeloMessage;
import naga.x.net.impl.pomelo.protocol.Message;

@PomeloMessage(type = Message.Type.PUSH, route = PomeloRoute.PUSH_MESSAGE)
public class TreasureBoxPush extends AbstractMessagePush {

	public static final TreasureBoxPush DEFAULT = new TreasureBoxPush(0);
	public static final TreasureBoxPush PET_OP = new TreasureBoxPush(1);
	
	private byte type;
	
	private TreasureBoxPush(int type) {
		super(MSG_TREASURE_BOX);
		this.type = (byte) type;
	}

	public byte getType() {
		return type;
	}

	public void setType(byte type) {
		this.type = type;
	}

}
